// LowerCase.cpp : implementation of the CLowerCase class
//

#include "stdafx.h"
#include "LowerCase.h"

CLowerCase::CLowerCase()
{
	// TODO: add member initialization code here
	
}
CLowerCase::~CLowerCase()
{

}
bool CLowerCase::GetAllow() const
{
	return m_allow;
}
void CLowerCase::SetAllow(bool nAllow)
{
	m_allow=nAllow;
}
bool CLowerCase::GetMustStart() const
{
	return m_mustStart;
}
void CLowerCase::SetMustStart(bool nMustStart)
{
	m_mustStart=nMustStart;
}
bool CLowerCase::GetCheckMin() const
{
	return m_checkMin;
}
void CLowerCase::SetCheckMin(bool nCheckMin)
{
	m_checkMin=nCheckMin;
}
int CLowerCase::GetMinValue() const
{
	return m_minValue;
}
void CLowerCase::SetMinValue(int nMinValue)
{
	m_minValue=nMinValue;
}

bool CLowerCase::GetCheckMax() const
{
	return m_checkMax;
}
void CLowerCase::SetCheckMax(bool nCheckMax)
{
	m_checkMax=nCheckMax;
}
int CLowerCase::GetMaxValue() const
{
	return m_maxValue;
}
void CLowerCase::SetMaxValue(int nMaxValue)
{
	m_maxValue=nMaxValue;
}


void CLowerCase::MapXMLTagsToMembers()
{
	MapAttribute(&m_allow,"allow");
	MapAttribute(&m_mustStart,"mustStart");
	MapAttribute(&m_checkMin,"checkMin");
	MapAttribute(&m_minValue,"minValue");
	MapAttribute(&m_checkMax,"checkMax");
	MapAttribute(&m_maxValue,"maxValue");
}
IMPLEMENT_FACTORY(CLowerCase, LowerCase);